package com.thx.appserver.service;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thx.appserver.dao.CappSoftDao;
import com.thx.appserver.model.CappSoft;
import com.thx.common.service.BaseManager;

@Service
@Transactional(readOnly = true)
public class CappSoftManager extends BaseManager<CappSoft>{

	@Autowired
	private CappSoftDao cappSoftDao;

	public CappSoftDao getCappSoftDao() {
		return cappSoftDao;
	}

	public void setCappSoftDao(CappSoftDao cappSoftDao) {
		this.cappSoftDao = cappSoftDao;
	}
	public  List<CappSoft>  searchCappSoft(){
		return  cappSoftDao.searchCappSoft();
	}
	public CappSoft getNewCappSoft(){
		return  cappSoftDao.getNewCappSoft();
	}
}
